package com.bang.itstack.day05;

/**
 * @ClassName: Singleton01
 * @Desc: 内部枚举
 * @author: <Bang>
 * @Date: 2021/10/21 19:19
 * @Version: 1.0
 * @Modified By:
 */
public enum  Singleton07 {

    SINGLETON_07;

    public void test(){
        System.out.println("hi~");
    }


    public static void main(String[] args) {
        Singleton07.SINGLETON_07.test();
        Singleton07.SINGLETON_07.test();
    }

}
